cod_set_user_recoil_reducer

Syntax

native cod_set_user_recoil_reducer(id, value, type = ROUND, weapons = FULL);

Usage

id
Player index
value
True to enable bonus, false to disable
type
Bonus type, valid types are:
CLASS - for class
ITEM - for item
ADDITIONAL - static bonus
ROUND - until round end
DEATH - until death
DAMAGE_GIVEN - until player damage enemy
DAMAGE_TAKEN - until player is hurt
weapons
Weapons in 1<<CSW_* format or FULL for all weapons.

Description

Sets player recoil reducer bonus value.

Note

Weapons can be bitsum, for example bonus for both M4A1 and AK47: (1<<CSW_M4A1)|(1<<CSW_AK47).

Return

This function has no return value.